package com.team.app.dao;

import java.util.List;

import com.team.app.model.Auth;
import com.team.app.model.AuthAcept;

public interface  AuthAceptDao {
	public Long create(AuthAcept obj);

	public void edit(AuthAcept obj);

	public void remove(AuthAcept obj);

	public AuthAcept find(Object id);
	
	public AuthAcept find(Long urlId,Long roleId);

	public List<AuthAcept> findAll();
	
	public List<AuthAcept> findAll(Long urlId,Auth auth);

	public List<AuthAcept> findRange(int[] range);

	public Long count();
	
	List<AuthAcept> findAll( Long urlId);
	
	public List<AuthAcept> findByRole(Long roleId);
		
	public AuthAcept find(Long urlId,Long objectId,Auth auth);
	
}
